<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div>
  <img src="assets/banner/banner.jpg" alt="">
</div>

</body>
<style type="text/css">
  div{
    width: 1200px;
    margin: 50px auto;
    overflow: hidden;
  }
  div img{
    width: 100%;
    cursor: pointer;
    transition: all 1.2s;/*图片放大过程的时间*/
  }
  div img:hover{
    transform: scale(1.1);/*鼠标经过图片放大的倍数*/
  }
</style>
</html>
